package com.xydtech.workflow.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 流程页面模板对象 wfl_page_template
 *
 * @author JHON
 * @date 2021-12-21
 */
public class WflPageTemplate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 模板页面编号 */
    private Long pageId;

    /** 页面名称 */
    @Excel(name = "页面名称")
    private String pageName;

    /** 页面类型 */
    @Excel(name = "页面类型")
    private String pageType;

    /** PC端页面路径 */
    @Excel(name = "PC端页面路径")
    private String pcPageUrl;

    /** APP页面路径 */
    @Excel(name = "APP页面路径")
    private String appPageUrl;

    /** 状态            0-停用            1-启用 */
    @Excel(name = "状态            0-停用            1-启用")
    private String sts;

    /** 流程节点已选择的页面id*/
    private String[] pageIds;

    public void setPageId(Long pageId) {
        this.pageId = pageId;
    }

    public Long getPageId() {
        return pageId;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }

    public String getPageName() {
        return pageName;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType;
    }

    public String getPageType() {
        return pageType;
    }

    public void setPcPageUrl(String pcPageUrl) {
        this.pcPageUrl = pcPageUrl;
    }

    public String getPcPageUrl() {
        return pcPageUrl;
    }

    public void setAppPageUrl(String appPageUrl) {
        this.appPageUrl = appPageUrl;
    }

    public String getAppPageUrl() {
        return appPageUrl;
    }

    public void setSts(String sts) {
        this.sts = sts;
    }

    public String getSts() {
        return sts;
    }

    public String[] getPageIds() {
        return pageIds;
    }

    public void setPageIds(String[] pageIds) {
        this.pageIds = pageIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("pageId", getPageId())
                .append("pageName", getPageName())
                .append("pageType", getPageType())
                .append("pcPageUrl", getPcPageUrl())
                .append("appPageUrl", getAppPageUrl())
                .append("sts", getSts())
                .toString();
    }
}
